﻿using System;

namespace ConsoleCalculator
{
    class Program
    {
        static void Main(string[] args)
        {
            int n;
            string s;
            int n1;
            string s1;
            string s2;
            Console.WriteLine("Please input an integer number: ");
            s = Console.ReadLine();
            n = int.Parse(s);
            Console.WriteLine("Please input another integer number: ");
            s1 = Console.ReadLine();
            n1 = int.Parse(s1);
         Op:   Console.WriteLine("Please input the operation you want(+, -, *, /): ");
            s2 = Console.ReadLine();
            if (s2 == "/" & n1 == 0)
                Console.WriteLine("Error!!!!!");
            else
            switch (s2)
            {
                case "+":
                    Console.WriteLine($"n1: {n},n2: {n1},n1+n2: {n1 + n}");
                    break;
                case "-":
                    Console.WriteLine($"n1: {n},n2: {n1},n1-n2: {n - n1}");
                    break;
                case "*":
                    Console.WriteLine($"n1: {n},n2: {n1},n1*n2: {n * n1}");
                    break;
                case "/":
                    Console.WriteLine($"n1: {n},n2: {n1},n1/n2: {n / n1}");
                    break;
                    default:
                        Console.WriteLine("You should input correct operation symbol!");
                        goto Op;
                     
            }
            


        }

    }
}
